package org.ywf.common.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.ywf.common.ipaddress.IPUtil;

import javax.servlet.http.HttpServletRequest;

/**
 * 公共的Service层，注入公共的数据
 *
 * @Author YWF
 * @Date 2023/2/8 16:13
 */
@Slf4j
public class BaseService {

    @Value("${sftp.client.localUploadPath}")
    protected String localUploadPath;

    @Value("${sftp.client.ftpDownloadPath}")
    protected String ftpDownloadPath;

    @Autowired
    protected HttpServletRequest request;

    @Autowired
    protected IPUtil ipUtil;

}
